package cn.highset.modules.base.entity;

import cn.highset.base.HighsetBaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author Victor
 */
@Data
@Entity
@Table(name = "t_user_miniprogram")
@TableName("t_user_miniprogram")
@ApiModel(value = "用户小程序信息表")
public class UserMiniprogram extends HighsetBaseEntity {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "用户d")
    @Column(unique = true, nullable = false)
    private String userid;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "公司名称")
    private String companyName;

    @ApiModelProperty(value = "手机号码")
    private String phoneNumber;

    @ApiModelProperty(value = "电子邮箱")
    private String email;


}
